<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>IM测试</title>
    <link rel="stylesheet" type="text/css" href="css/index.css"/>

</head>
<body>
<div id="main_box">
    <p>在线聊天</p>
    <div id="msg_box">
        <ul id="msg">

        </ul>
    </div>
    <span id="tips" style="display: none;color: red"></span>
    <div id="msgs"><input type="text" id="msg_from"><button onclick="send_message()">发送</button></div>
</div>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>